package org.erepublik.company.service;

import org.erepublik.company.EProductType;

public enum EWeaponType {
    TANK(EProductType.TANK, 7, "Tank", "tank"),
    HELICOPTER(EProductType.HELICOPTER, 9, "Helicopter", "helicopter"),
    ARTILLERY(EProductType.ARTILLERY, 8, "Artillery", "artillery"),
    RIFLE(EProductType.RIFLE, 6, "Rifle", "rifle")
    ;

    EWeaponType(EProductType type, int id, String name, String simpleName) {
        productType = type;
        erepid = id;
        this.name = name;
        this.setSimpleName(simpleName);
    }
    private int erepid;
    private String name;
    private String simpleName;
    public int getErepid() {
        return erepid;
    }
    private EProductType productType;
    public EProductType getProductType() {
        return productType;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }
    public void setSimpleName(String simpleName) {
        this.simpleName = simpleName;
    }
    public String getSimpleName() {
        return simpleName;
    }

}
